package com.mask.lego.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mask.lego.common.utils.PageUtils;
import com.mask.lego.coupon.entity.SeckillSessionEntity;

import java.util.List;
import java.util.Map;

/**
 * 秒杀活动场次
 *
 * @author hx
 * @email 2500130018@qq.com
 * @date 2021-12-01 20:29:24
 */
public interface SeckillSessionService extends IService<SeckillSessionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 获取最近三天需要秒杀的商品
     * @return
     */
    List<SeckillSessionEntity> getLates3DaySession();

}

